package com.example.cstr.service;

import com.example.cstr.entity.EducationTrainClass;
import com.example.cstr.entity.Message;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface EducationTrainClassService {


    int deleteByPrimaryKey(Integer etcId);

    int insert(EducationTrainClass record);

    int insertSelective(EducationTrainClass record);

    EducationTrainClass selectByPrimaryKey(Integer etcId);

    int updateByPrimaryKeySelective(EducationTrainClass record);

    int updateByPrimaryKey(EducationTrainClass record);

    List<EducationTrainClass> selectAllEducationTrainClass();

    Message PagingSearch(@RequestParam Integer pageNum, @RequestParam Integer size);

    List<EducationTrainClass> selectEtcIdByWorkId(Integer workId);

    List<EducationTrainClass> selectAllByYearId(Integer yearId);
}










